<?php

namespace app\admin\validate;

use think\Validate;

class BaseValidate extends Validate
{
    protected $regex = [
        'mobile'                =>      '/1[3456789]\d{9}$/',
        'idcard'                =>      '/^(\d{15}|\d{18}|\d{17}x)$/i',
        'bank_card'             =>      '/^(\d{16}|\d{17}|\d{19})$/',
    ];
}
